#pragma once
#include "afxwin.h"
#include "NetNode.h"


// CDlgBoardConfig dialog

class CDlgBoardConfig : public CDialog
{
	DECLARE_DYNAMIC(CDlgBoardConfig)

public:
	CDlgBoardConfig(NetNode * node, CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgBoardConfig();

// Dialog Data
	enum { IDD = IDD_BOARD_CONFIG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CComboBox m_combo_slot;
	NetNode * m_node;
	Board * m_board;
	afx_msg void OnCbnSelchangeCombo1();
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedDrawText();
	bool changed(void);
	void get_text_size(int& width, int& height);
	afx_msg void OnEnChangeTextWidth();
	afx_msg void OnEnChangeTextHeight();
};
